<!DOCTYPE html>
<html lang="en">
<head>
    <#import "../common/common.macro.ftl" as netCommon>
	<@netCommon.commonStyle />
</head>
<body>
<div class="wrapper">

            <div class="box-body">
                <form id="changeAppForm">
                    <!-- text input -->
                    <input id="id" type="hidden" class="form-control" name="id" value="${app.id}">
                    <input id="oldAppId" type="hidden" readonly class="form-control" name="oldAppId" value="${app.appId!''}">
                    <div id="appIddiv" class="form-group">
                        <label>APP ID</label>
                        <input id="appId" type="text" readonly class="form-control" name="appId" value="${app.appId!''}">
                        <span id="appIdMsg" class="help-block"></span>
                    </div>
                    <div id="appNamediv" class="form-group">
                        <label>应用名称</label>
                        <input id="appName" type="text" class="form-control" name="appName" value="${app.appName!''}">
                        <span id="appNameMsg" class="help-block"></span>
                    </div>
                    <div id="appPathdiv" class="form-group">
                        <label>应用路径</label>
                        <input id="appPath" type="text" class="form-control" name="appPath" value="${app.appPath!''}">
                        <span id="appPathMsg" class="help-block"></span>
                    </div>
                    <div class="form-group">
                        <label>访问权限</label>&nbsp;&nbsp;&nbsp;&nbsp;
                        <label>
                            <input type="radio" name="authType" value="Public" <#if app.authType=='Public'>checked="checked"</#if>> 公共项目
                            &nbsp;&nbsp;
                            <input type="radio" name="authType" value="Private" <#if app.authType=='Private'>checked="checked"</#if>> 私有项目
                        </label>
                    </div>
                    <div class="form-group">
                        <label>服务类型</label>&nbsp;&nbsp;&nbsp;&nbsp;
                        <label>
                            <input type="radio" name="appType" value="web" <#if app.appType=='web'>checked="checked"</#if>> web项目
                            &nbsp;&nbsp;
                            <input type="radio" name="appType" value="server" <#if app.appType=='server'>checked="checked"</#if>> server项目
                        </label>
                    </div>
                    <div class="form-group">
                        <label>应用描述</label>
                        <input type="text" class="form-control" name="appDesc" value="${app.appDesc!''}">
                    </div>
                    <button id="changeBtn" type="button" class="btn btn-block btn-primary">提交</button>

                </form>
            </div>
            <!-- /.box-body -->
        <!-- /.box -->
</div>

<@netCommon.commonScript />
<script src="${request.contextPath}/static/js/app.js" ></script>
</body>
</html>